//
//  CKAccountModel.h
//  FreshBee
//
//  Created by chenkai on 16/10/15.
//  Copyright © 2016年 iOS013. All rights reserved.
//

#import <Foundation/Foundation.h>
@class CKOrderGoods;
@class CKStatusTimeline;

@interface CKOrderModel : NSObject

@property (nonatomic,copy)NSString *lastUpdateTime;

@property (nonatomic,copy)NSString *real_amount;//实际支付金额

@property (nonatomic,copy)NSArray<CKOrderGoods *> *order_goods;//所有商品
@property (nonatomic,copy)NSArray<CKStatusTimeline *> *status_timeline;//所有商品

//订单号:
@property (nonatomic,copy)NSString *order_no;
//收获码:
@property (nonatomic,copy)NSString *checknum;
//下单事件:
@property (nonatomic,copy)NSString *create_time;
//配送时间:
@property (nonatomic,copy)NSString *accept_time;
//配送方式:

//收货人:
@property (nonatomic,copy)NSString *accept_name;
//手机号:
@property (nonatomic,copy)NSString *telphone;
//收货地址:
@property (nonatomic,copy)NSString *address;
//配送店铺:
@property (nonatomic,copy)NSString *dealer_name;

//费用:
@property (nonatomic,strong)NSArray *fee_list;

//评价:
@property (nonatomic,copy)NSNumber *star;
@property (nonatomic,copy)NSString *comment;


//模型对象:
@property (nonatomic,strong)NSArray<CKOrderModel *> *orderModelArray;

+ (instancetype)sharedOrder;

+ (void)getDataWithsuccessBlock:(void(^)(NSArray *array))successBlock;

@end
